<?php
namespace app\model\mongo;

use app\model\mongo\traits\MongoMethod;
use const support\INT;
use const support\STRING;

class OrderReviewMongo extends BaseMongo{

    use MongoMethod;

    protected $table = 'order_reviews';

    static $fields=[
        'order_id'		        =>INT,
        'member_id'		        =>INT,
        'goods_id'  	        =>INT,
        'goods_score'           =>INT,
        'goods_period_date'     =>INT,
        'goods_period_title'    =>STRING,
        'goods_comment'         =>STRING,
        'goods_comment_images'  =>STRING,
        'status'                =>INT,
        'create_time' 	        =>INT,
        'update_time'           =>INT,
    ];
}